<!-- $Id: category_info.htm 16752 2009-10-20 09:59:38Z wangleisvn $ -->
{include file="pageheader.htm"}
<!-- start add new category form -->
<div class="main-div">
  <form action="source_config.php" method="post" name="theForm" >
  <table width="100%" id="general-table">
      <tr>
        <td class="label">站点网址:</td>
        <td><font color="red">
          <select name="stage_id" id="stage_id">
            <option value="0" ></option>
            {$category}
          </select>
        </font></td>
		<td><input type="button" value="保存" onclick="checkthis()" />
		<input type="hidden" name="act" value="save" />
		</td>
      </tr>
</table>
</form>

<table>
      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>

{foreach from=$cgdata item=cd}
      <tr id="measure_unit">
        <td class="label">$cd.id</td>
        <td>$cd.cid</td>
        <td>$cd.memo</td>
      </tr>
{/foreach}

      <tr>
        <td class="label">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      </table>

    
  
</div>
{literal}
<script language="JavaScript">
<!--

/**
 * 检查表单输入的数据
 */
function checkthis()
{
    
  var obj = document.getElementById('site_url');
  if(obj.value == ''){
	  alert('请输入网站地址');  
	  return false;
  }  
  
  document.theForm.submit();

}



//-->
</script>
{/literal}
{include file="pagefooter.htm"}